/*
  Number 3, unsurprisingly this is a combination of numbers 1 and 2 (english/scottish flags)
  I just pity the poor sods in the US who try to emulate this... =) (if you manage, i wanna see)
  by Nihilist (tomgarnett@bigfoot.com) 11 Aug 2000
*/ 


Durn="1.5",

CamX="80*sin(t/7)",
CamY="120 + 30 * sin( t / 6 )",
CamZ="100+20*sin(t/3)",

CmLX="-20+40*sin(t/8)",
CmLY="30*sin(t/14)",
CmLZ="-10",

D0="sqwv((s+dt-1)*20) + sqwv((s-dt)*20) + sqwv((s-.5)*17) + sqwv((dt-.5)*28.8)",


D1="clip(sqwv((s+dt-1)*10)+sqwv((s-dt)*10)+sqwv((s-.5)*8)+sqwv((dt-.5)*12.2))",

R="D1",
G="D1 - clip( D0 )",
B="clip( 1 - D0 )",

CUpX="0",
CUpY="0",
CUpZ="1",


// Our white flagpole
LvlR="1",
LvlG="1",
LvlB="1",

widt=590,heig=350,

ConL=1,ConB=1,



// Don't make sound affect the "flagpole" (ie, then dt == 0)
C0="(1-flor(1-dt))* 16",


// Make the flag wave back and forth
C1="12*dt*sin(st*5)",

X="(dt-.5)*200",
Y="(s-.5)*100",
Z="C0 * fft(s) + C1",

LWdt="1+5*flor(1-dt)",

Scal="400",
ScSz=1,

Pers="70",

Vers=40
